rm: fix gnu coreutils test one-file-system.sh#9428
Closed
mattsu2020 wants to merge 7 commits intouutils:mainfrom
Closed
rm: fix gnu coreutils test one-file-system.sh#9428mattsu2020 wants to merge 7 commits intouutils:mainfrom
mattsu2020 wants to merge 7 commits intouutils:mainfrom
Conversation
|
GNU testsuite comparison: |
sylvestre
reviewed
Nov 21, 2025
sylvestre
reviewed
Nov 21, 2025
|
GNU testsuite comparison: |
sylvestre
reviewed
Nov 22, 2025
|
GNU testsuite comparison: |
|
GNU testsuite comparison: |
1 similar comment
|
GNU testsuite comparison: |
CodSpeed Performance ReportMerging #9428 will not alter performanceComparing Summary
Footnotes
|
|
GNU testsuite comparison: |
|
GNU testsuite comparison: |
sylvestre
reviewed
Dec 26, 2025
sylvestre
reviewed
Dec 26, 2025
sylvestre
reviewed
Dec 26, 2025
sylvestre
reviewed
Dec 26, 2025
Contributor
|
i see 3 conflicts |
|
GNU testsuite comparison: |
|
GNU testsuite comparison: |
|
GNU testsuite comparison: |
3 similar comments
|
GNU testsuite comparison: |
|
GNU testsuite comparison: |
|
GNU testsuite comparison: |
sylvestre
reviewed
Dec 30, 2025
sylvestre
reviewed
Dec 30, 2025
d8875f6 to
0da3869
Compare
|
GNU testsuite comparison: |
0da3869 to
fe51531
Compare
|
GNU testsuite comparison: |
|
GNU testsuite comparison: |
sylvestre
reviewed
Dec 31, 2025
sylvestre
reviewed
Dec 31, 2025
sylvestre
reviewed
Dec 31, 2025
sylvestre
reviewed
Dec 31, 2025
|
GNU testsuite comparison: |
|
GNU testsuite comparison: |
Add "tmpfs" to the spell-checker ignore comment in test_rm.rs to suppress warnings for this filesystem type term used in the tests.
…e_root_all - Changed preserve_root_all to retrieve device ID from parent directory's symlink metadata instead of file's metadata - Maintains one_fs option using file's metadata - Improves accuracy for preserving root directory across filesystems on Unix systems
…unction Remove the cfg-specific `should_skip_different_device` wrapper and directly call `should_skip_different_device_with_dev` with a `#[cfg(unix)]` attribute in the recursive directory removal function, reducing code duplication and improving clarity.
Remove wrapper functions `remove_dir_recursive` and `remove_dir_recursive_with_parent`, and inline conditional compilation directly in `handle_dir_impl` to reduce code duplication and improve maintainability without altering functionality.
Add conditional compilation to discard `parent_dev_id` parameter when not on Unix, preventing compiler warnings since this parameter is unused outside Unix-specific code paths.
1f09776 to
a57380d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Remove the extra leading rm: from the rm-error-preserve-root-all locale strings so the message matches expected test output.
Keep wording otherwise unchanged across en-US and fr-FR locales.
#9127